﻿Imports System

''' <summary>
''' Event argument for any change event that occurs for an aggregate model
''' </summary>
Public NotInheritable Class AggregateModelEventArgs
    Inherits EventArgs

    Private ReadOnly m_aggregateName As String
    ''' <summary>
    ''' The name of the aggregate to which this event occured
    ''' </summary>
    Public ReadOnly Property AggregateName As String
        Get
            Return m_aggregateName
        End Get
    End Property

    Public Sub New(ByVal AffectedAggregateName As String)
        m_aggregateName = AffectedAggregateName
    End Sub

End Class
